---- Cut Here and feed the following to sh ----
#!/bin/sh
# This is test1.txt, a shell archive (produced by GNU sharutils 4.9).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `#!/bin/sh' line above, then type `sh FILE'.
#
lock_dir=_sh05402
# Made on 2011-06-17 22:58 EEST by <http://oeis.org/wiki/User:Antti_Karttunen>.
# Source directory was `/home/hacklab/Downloads/Kartun'.
#
# Existing files will *not* be overwritten, unless `-c' is specified.
# This format requires very little intelligence at unshar time.
# "if test", "echo", "mkdir", and "sed" may be needed.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#     83 -rw-r--r-- test2.txt
#
echo=echo
shar_tty= shar_n= shar_c='
'
if test ! -d ${lock_dir} ; then :
else ${echo} "lock directory ${lock_dir} exists"
     exit 1
fi
if mkdir ${lock_dir} ; then :
else ${echo} "failed to create ${lock_dir} lock directory"
     exit 1
fi
# ============= test2.txt ==============
if test -f 'test2.txt' && test "$first_param" != -c; then
${echo} "x - SKIPPING test2.txt (file already exists)"
else
${echo} "x - extracting test2.txt (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'test2.txt' &&
XJust testing, please delete!
X(That is, whether .txt files can be uploaded at all?)
SHAR_EOF
:
if test $? -ne 0
then ${echo} "restore of test2.txt failed"
fi
fi
if rm -fr ${lock_dir}
then ${echo} "x - removed lock directory ${lock_dir}."
else ${echo} "x - failed to remove lock directory ${lock_dir}."
     exit 1
fi
exit 0
